<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <h1>我是revise</h1>
    <form action="/comrevise?id=<%=student.id%>" method="post">
        <div>
            姓名：<input type="text" name="name" value="<%=student.name%>" >
        </div>
        <div>
            年龄：<input type="number" max = "150" min = "0" name="age" value="<%=student.age%>">
        </div>
        <div>
            性别：<input type="radio" name="gender" value="男"
                    <%= student.gender === "男" && "checked"%>>男
                <input type="radio" name="gender" value="女"
                <%= student.gender === "女" && "checked"%>>女
        </div>
        <div>
            地址：<input type="text" name="address" value="<%=student.address%>">
        </div>
        <div>
            <button>修改</button>
        </div>
        
    </form>
</body>
</html>